home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
239_01
/
noop.c
< prev
next >
Wrap
Text File
|
1987-07-29
|
512b
|
32 lines
#include <time.h>
#include "ciao.h"
/*
** noop definition for #defines in debug test files
*/
void noop()
{
;
}
void bell() { putch('\a'); }
void sleep( tenths ) int tenths;
{
time_t start, finish;
float value;
value = (float) tenths / 10.0; /* convert 20 tenths to 0.2 seconds */
time(&start);
do
{
time(&finish);
}
while (difftime(finish,start) < value);
}